# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer:
pkgname=pony-stable
pkgver=0.2.1
pkgrel=0
pkgdesc="A simple dependency manager for the Pony language"
url="https://github.com/ponylang/pony-stable"
arch="x86_64"
license="BSD-2-Clause"
makedepends="ponyc libexecinfo-dev pcre2-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/ponylang/$pkgname/archive/$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

package() {
	DESTDIR="$pkgdir" make prefix=/usr install
}

sha512sums="280d947ae04d26796d0bf0016925005b8f22dd4dd179f864ed34759f5f1f229c73870c7b3fcbb8d6a8411076af76d13d0321abc865d37d7cd2558aaf5c3b1e55  pony-stable-0.2.1.tar.gz"
